package cn.abcsys.cloud.devops.runtime.entity;

import java.util.Date;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.DateSerializer;
/**
 * 主机
 * @author mayunhao
 * @date 2017-06-16
 */
public class Host {
	/*
	 * 主键
	 */
	private Integer hostId;
	/*
	 * 主机唯一标识
	 */
	private String hostUuid;
	/*
	 * 主机别名
	 */
	private String hostName;
	/*
	 * 主机登录用户
	 */
	private String hostUser;
	/*
	 * 主机登录密码
	 */
	private String hostPwd;
	/*
	 *主机类型 
	 */
	private Byte hostType;
    /*
     * 主机IP
     */
	private String hostIp;
	/*
	 * 主机CPU
	 */
	private Integer hostCpu;
	/*
	 * 主机内存
	 */
	private Integer hostMem;
	/*
	 * 主机状态
	 */
	private Byte hostStatus;
	/*
	 * 主机描述信息
	 */
	private String hostDesc;
	/*
	 * 真实主机名称
	 */
	private String hostRealName;
	/*
	 * 主机内核信息
	 */
	private String hostKernelVersion;
	/*
	 * 主机创建时间
	 */
	@JsonSerialize(using = DateSerializer.class)
	private Date hostCreatetime;
	/*
	 * 创建人
	 */
	private Integer hostCreator;
	/*
	 * 主机安装docker版本信息
	 */
	private String dockerVersion;
	/*
	 * 所属集群
	 */
	private Integer clusterId;
	/*
	 * kubernetes版本
	 */
	private String kubeVersion;
	/*
	 * registry版本
	 */
	private String registryVersion;
	
	/*
	 * 启动时间
	 */
	@JsonSerialize(using = DateSerializer.class)
	private Date hostBoot;
	/*
	 * 操作系统
	 */
	private String hostOs;
	/*
	 * 仓库
	 */
	private Integer registryId;
	/*
	 * 网络
	 */
	private String network;
	
	private Integer envId;
	public Integer getHostId() {
		return hostId;
	}

	public void setHostId(Integer hostId) {
		this.hostId = hostId;
	}

	public String getHostUuid() {
		return hostUuid;
	}

	public void setHostUuid(String hostUuid) {
		this.hostUuid = hostUuid;
	}

	public String getHostName() {
		return hostName;
	}

	public void setHostName(String hostName) {
		this.hostName = hostName;
	}

	public String getHostUser() {
		return hostUser;
	}

	public void setHostUser(String hostUser) {
		this.hostUser = hostUser;
	}

	public String getHostPwd() {
		return hostPwd;
	}

	public void setHostPwd(String hostPwd) {
		this.hostPwd = hostPwd;
	}

	public Byte getHostType() {
		return hostType;
	}

	public void setHostType(Byte hostType) {
		this.hostType = hostType;
	}

	public String getHostIp() {
		return hostIp;
	}

	public void setHostIp(String hostIp) {
		this.hostIp = hostIp;
	}

	public Integer getHostCpu() {
		return hostCpu;
	}

	public void setHostCpu(Integer hostCpu) {
		this.hostCpu = hostCpu;
	}

	public Integer getHostMem() {
		return hostMem;
	}

	public void setHostMem(Integer hostMem) {
		this.hostMem = hostMem;
	}

	public Byte getHostStatus() {
		return hostStatus;
	}

	public void setHostStatus(Byte hostStatus) {
		this.hostStatus = hostStatus;
	}

	public String getHostDesc() {
		return hostDesc;
	}

	public void setHostDesc(String hostDesc) {
		this.hostDesc = hostDesc;
	}

	public String getHostRealName() {
		return hostRealName;
	}

	public void setHostRealName(String hostRealName) {
		this.hostRealName = hostRealName;
	}

	public String getHostKernelVersion() {
		return hostKernelVersion;
	}

	public void setHostKernelVersion(String hostKernelVersion) {
		this.hostKernelVersion = hostKernelVersion;
	}

	public Date getHostCreatetime() {
		return hostCreatetime;
	}

	public void setHostCreatetime(Date hostCreatetime) {
		this.hostCreatetime = hostCreatetime;
	}

	public Integer getHostCreator() {
		return hostCreator;
	}

	public void setHostCreator(Integer hostCreator) {
		this.hostCreator = hostCreator;
	}

	public String getDockerVersion() {
		return dockerVersion;
	}

	public void setDockerVersion(String dockerVersion) {
		this.dockerVersion = dockerVersion;
	}

	public Integer getClusterId() {
		return clusterId;
	}

	public void setClusterId(Integer clusterId) {
		this.clusterId = clusterId;
	}

	public String getKubeVersion() {
		return kubeVersion;
	}

	public void setKubeVersion(String kubeVersion) {
		this.kubeVersion = kubeVersion;
	}

	public String getRegistryVersion() {
		return registryVersion;
	}

	public void setRegistryVersion(String registryVersion) {
		this.registryVersion = registryVersion;
	}

	public Date getHostBoot() {
		return hostBoot;
	}

	public void setHostBoot(Date hostBoot) {
		this.hostBoot = hostBoot;
	}

	public String getHostOs() {
		return hostOs;
	}

	public void setHostOs(String hostOs) {
		this.hostOs = hostOs;
	}

	public Integer getRegistryId() {
		return registryId;
	}

	public void setRegistryId(Integer registryId) {
		this.registryId = registryId;
	}

	public String getNetwork() {
		return network;
	}

	public void setNetwork(String network) {
		this.network = network;
	}

	public Integer getEnvId() {
		return envId;
	}

	public void setEnvId(Integer envId) {
		this.envId = envId;
	}
	
}
